<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jsp/jstl/core">
<h:head>
	<title>NAOTEBUK - Controle de acesso</title>
	<link rel="shortcut icon" href="img/favicon.ico" />
</h:head>
<h:body>
	<h:outputStylesheet name="css/default.css" />
    <center>
    <br />
    <br />
    <br />
    <br />
    <p:panel header="NAOTEBUK - Controle de acesso" style="width:400px">
        <p:messages />
        <h:form>
            <h:panelGrid columns="2" cellpadding="2" id="pgLogin" >
                <h:outputLabel for="inputUserName" value="Usuário:"/>
                <h:inputText id="inputUserName" value="#{userManagedBean.username}" label="UserName" />
                <h:outputLabel for="inputPassword" value="Senha:"/>
                <h:inputSecret id="inputPassword" value="#{userManagedBean.password}"></h:inputSecret>
                <h:commandButton id="cbLogin" type="submit" value="Login" action="#{userManagedBean.login}" />
            </h:panelGrid>
        </h:form>
    </p:panel>
    </center>
</h:body>
</html>